<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: brown;
        }
        .box{
            background-color: cornflowerblue;
            /* 定位 relative绝对定位 absolute相对定位 rixed固定定位 子绝父相*/
            position: relative;
            /* 左right 右left 上bottom 下top*/
            left: 100px;
            top: 100px;
        }
    </style>
</head>
<body>
    <div></div>
    <div class="box"></div>
    <div></div>
</body>
</html>